package com.service;

import com.bean.Page;
import com.bean.User;

public interface UserService {

    public User login(User user);
    public boolean existsUserid(String userid);
    public void register(User user);

    public void deleteByUserid(String userid);

   public void modifyPass(String userid,String password);

   public void modifyMess(String userid,String pet_name,String relname,String postal_code,String telephone,String address,int sex);

   public void modifyPhoto(String userid, String head_sculpture);

   public Page<User> queryPageUser(int pageNo, int pageSize);

   public User showMess(String enterpriseid);
}
